package demo.ws.vo;

import java.io.Serializable;

/**
 * @Description 封装远程调用结果
 * @author Sunyf
 * @date 2013-5-21 下午4:03:34
 * @version V1.0
 */
public class Result implements Serializable {

    private static final long   serialVersionUID = -3434871054954694894L;

    public final static boolean SUCCESS          = true;
    public final static boolean FAILURE          = false;

    /**
     * 标识 true为成功; false为失败
     */
    private boolean             success;

    /**
     * 执行描述信息 主要为失败的描述信息
     */
    private String              describe;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

}
